package com.smedi.ismedi.inmail.api.dto.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;

/**
 * @className: AppVersionResponse
 * @Description: TODO
 * @version: v1.0.0
 * @author: wzx
 * @date: 2023/8/30 13:39
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "版本管理")
public class AppVersionResponse {

    /**
     *  id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     *  版本号
     */
    @ApiModelProperty(value = "版本号")
    private String appVersion;
    /**
     *  更新地址
     */
    @ApiModelProperty(value = "更新地址")
    private String address;
    /**
     *  更新方式
     */
    @ApiModelProperty(value = "更新方式")
    private String method;
    /**
     *  系统
     */
    @ApiModelProperty(value = "系统")
    private String systemType;
    /**
     *  更新内容
     */
    @ApiModelProperty(value = "更新内容")
    private String content;
    /**
     * 状态
     * */
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;

    /**
     * 更新时间
     * */
    @NotNull(message = "更新时间")
    private LocalDateTime updateTime;

}